#ifndef __PVMSOURCEFACTORYOGGVORBIS_H__
#define __PVMSOURCEFACTORYOGGVORBIS_H__

#include "lib/pvmsourcefactory.h"

#include "lib/memory/pvmmemory.h"

class PVMSourceFatcoryOggVorbis : public IPVMSourceFatcory, public PVMAllocableObject
{
	PVMSourceFatcoryOggVorbis();
public:
	virtual ~PVMSourceFatcoryOggVorbis();

	virtual pvm_bool CanLoad(IPvmInStream* inStream, pvm_int8** startData, pvm_int* startDataSize);
	virtual IPVMVoiceSource* CreateVoiceSource(IPvmInStream* inStream, pvm_int8* startData, pvm_int startDataSize);

	static IPVMSourceFatcory* CreateFactory();
};

#endif
